package com.bawei.common.vm
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.bawei.common.model.BaseRepository

/**
 * Author: Jason Zhang
 * Date: 2025/4/22
 * Desc: 基础ViewModel
 */
abstract class BaseViewModel<T>: ViewModel() {

    //错误信息提示
    protected val mErrorLiveData  = MutableLiveData<String>()
    //数据获取成功
    protected val mSuccessLiveData  = MutableLiveData<T>()

}